<template>
	<view class="search">
		<van-search class="search-input" v-model="keyword" shape="round" placeholder="请输入搜索关键词" />
		<view class="btn" @click="query">搜索</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				keyword: ''
			}
		},
		methods: {
			query() {

			}
		}
	}
</script>

<style scoped>
	.search {
		display: flex;
		justify-content: space-between;
		align-items: center;
		font-size: 24rpx;
	}

	.search-input {
		flex: 1;
	}

	.btn {
		width: 100rpx;
	}
</style>